From 84bc71818a617aa0c63dabb73c30781bab1b38db Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 19 Aug 2010 15:31:14 +0100 Subject: [PATCH] xl: destroy device model info after creation [PATCH 12 of 16 of libxl: autogenerate type definitions and destructor functions] Signed-off-by: Ian Campbell Signed-off-by: Ian Jackson --- tools/libxl/xl_cmdimpl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 835a50f8b0..6f5f6c8e8b 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -1624,6 +1624,8 @@ out: if (logfile != 2) close(logfile); + libxl_device_model_info_destroy(&dm_info); + free_domain_config(&d_config); free(config_data); -- 2.30.2